package cn.rentaotao.spring.config;

import org.springframework.context.annotation.*;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;

/**
 * 用来代替 application.xml
 *
 * 忽略被 @EnableWebMvc 注解标识的类
 *
 * @author rtt
 * @date 2022/5/11 09:34
 */
// @EnableAspectJAutoProxy
@ComponentScan(basePackages = "cn.rentaotao.spring")
@PropertySource(value = "classpath:config.properties", ignoreResourceNotFound = true)
@PropertySource(value = "classpath:jdbc.properties", ignoreResourceNotFound = true)
public class RootConfig {
}
